package com.tchintech.pay.delegate.certification;

import android.widget.Button;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.tchintech.pay.R;
import com.tchintech.pay.frame.view.AppDelegate;

import butterknife.Bind;

/**
 * Created by Administrator on 2017/7/7 0007.
 */

public class IdCardFrontDelegate extends AppDelegate {
    @Bind(R.id.identify_iv_example)
    ImageView identifyIvExample;
    @Bind(R.id.identify_tv_tips)
    TextView identifyTvTips;
    @Bind(R.id.identify_ib_img)
    ImageButton identifyIbImg;
    @Bind(R.id.identify_bt_confirm)
    Button identifyBtConfirm;
    @Bind(R.id.identify_rl_example)
    RelativeLayout identifyRlExample;
    @Override
    public int getRootLayoutId() {
        return R.layout.activity_idcardfron;
    }

    public ImageView getiv(int id){
        ImageView iv=null;
        iv=get(id);
        return  iv;
    }

    public RelativeLayout getrela(int id){
        RelativeLayout  rela=null;
        rela=get(id);
        return rela;
    }

    public  ImageButton getImagebt(int id ){
        ImageButton  imageView=null;
        imageView=get(id);
        return imageView;
    }

    public void setTexts(String str){
        identifyTvTips.setText(str);
    }
}
